<div>
    <h2 data-translate="zhserverApp.userinfo.home.title">Userinfos</h2>
    <jhi-alert></jhi-alert>
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-4 no-padding-left">
                <button class="btn btn-primary" ui-sref="userinfocreate" >
                    <span class="glyphicon glyphicon-plus"></span>
                    <span  data-translate="zhserverApp.userinfo.home.createLabel">
                        Create new Userinfo
                    </span>
                </button>
            </div>
        </div>
    </div>
    <br/>
    <div class="table-responsive">
        <table class="jh-table table table-striped">
            <thead>
                <tr jh-sort="vm.predicate" ascending="vm.reverse" callback="vm.transition()">
                    <th jh-sort-by="id"><span data-translate="global.field.id">ID</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="phonenumber"><span data-translate="zhserverApp.userinfo.phonenumber">Phonenumber</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="birthday"><span data-translate="zhserverApp.userinfo.birthday">Birthday</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="sex"><span data-translate="zhserverApp.userinfo.sex">Sex</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="nickname"><span data-translate="zhserverApp.userinfo.nickname">Nickname</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="education"><span data-translate="zhserverApp.userinfo.education">Education</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="age"><span data-translate="zhserverApp.userinfo.age">Age</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="userresume"><span data-translate="zhserverApp.userinfo.userresume">Userresume</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="flag"><span data-translate="zhserverApp.userinfo.flag">Flag</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="headimg"><span data-translate="zhserverApp.userinfo.headimg">Headimg</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="email"><span data-translate="zhserverApp.userinfo.email">Email</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th jh-sort-by="histroy"><span data-translate="zhserverApp.userinfo.histroy">Histroy</span> <span class="glyphicon glyphicon-sort"></span></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="userinfo in vm.userinfos track by userinfo.id">
                    <td><a ui-sref="userinfo-detail({id:userinfo.id})">{{userinfo.id}}</a></td>
                    <td>{{userinfo.phonenumber}}</td>
                        <td>{{userinfo.birthday | date:'mediumDate'}}</td>
                    <td>{{userinfo.sex}}</td>
                    <td>{{userinfo.nickname}}</td>
                    <td>{{userinfo.education}}</td>
                    <td>{{userinfo.age}}</td>
                    <td>{{userinfo.userresume}}</td>
                    <td>{{userinfo.flag}}</td>
                    <td>{{userinfo.headimg}}</td>
                    <td>{{userinfo.email}}</td>
                    <td>{{userinfo.histroy}}</td>
                    <td class="text-right">
                        <div class="btn-group flex-btn-group-container">
                            <button type="submit"
                                    ui-sref="userinfo-detail({id:userinfo.id})"
                                    class="btn btn-info btn-sm">
                                <span class="glyphicon glyphicon-eye-open"></span>
                                <span class="hidden-xs hidden-sm" data-translate="entity.action.view"></span>
                            </button>
                            <button type="submit"
                                    ui-sref="userinfo.edit({id:userinfo.id})"
                                    class="btn btn-primary btn-sm">
                                <span class="glyphicon glyphicon-pencil"></span>
                                <span class="hidden-xs hidden-sm" data-translate="entity.action.edit"></span>
                            </button>
                            <button type="submit"
                                    ui-sref="userinfo.delete({id:userinfo.id})"
                                    class="btn btn-danger btn-sm">
                                <span class="glyphicon glyphicon-remove-circle"></span>
                                <span class="hidden-xs hidden-sm" data-translate="entity.action.delete"></span>
                            </button>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="text-center">
        <jhi-item-count page="vm.page" total="vm.queryCount" items-per-page="vm.itemsPerPage"></jhi-item-count>
    </div>
    <uib-pager total-items="vm.totalItems" ng-model="vm.page" ng-change="vm.transition()"></uib-pager>
</div>
